﻿<!DOCTYPE html>
<html>

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title></title>
<script src="scripts/jquery.js" type="text/javascript"></script>
<script src="scripts/dataList.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$.ajax({
		type: "POST",
		url: "temp/data.php",
		data:{start:10},
		dataType:'json',
		success: function(data){
			var result = data['data'];
			$("#myList").dataList(result, {
				tpl: '<li>%id% %issue% %desc%</li>',
				limit: 5
			});
		}
	});
});

function callback() {
	/*$("#searchResults > tr").click(function() {
		$(this).find("td").toggleClass("background");
	});*/
}

</script>
</head>

<body>
<div id="listW">
	<ul id="myList">
		
	</ul>
</div>
</body>

</html>